package com.example.demo.soap.vo;

import javax.xml.bind.annotation.XmlRootElement;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import java.util.UUID;

@XmlRootElement(name = "Customer")
public class User {
	private String id;
	private String name;
	private List<String> infoList;
	private List<UserLove> userLoveList;

	public User()
	{
		userLoveList=new ArrayList<>();
		infoList=new ArrayList<>();
		for(int i=0;i<40;i++)
		{
			UserLove userLove=new UserLove(20);
			userLoveList.add(userLove);
		}
		for(int i=0;i<100;i++)
		{
			infoList.add(UUID.randomUUID().toString());
		}
	}
	public List<String> getInfoList() {
		return infoList;
	}

	public void setInfoList(List<String> infoList) {
		this.infoList = infoList;
	}

	public List<UserLove> getUserLoveList() {
		return userLoveList;
	}

	public void setUserLoveList(List<UserLove> userLoveList) {
		this.userLoveList = userLoveList;
	}

	public String getId()
	{
		return id;
	}

	public void setId(String id)
	{
		this.id = id;
	}

	public String getName()
	{
		return name;
	}

	public void setName(String name)
	{
		this.name = name;
	}

	@Override
	public String toString()
	{
		return org.apache.commons.lang3.builder.ToStringBuilder.reflectionToString(this);
	}
}